package com.linkzd.iot.domain;

import com.linkzd.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;
/**
 * @Description: TODO  房间信息实体类
 * @Author: cyx
 * @Date: 2024/5/16 13:29
 */
@Data
public class RoomInfo extends BaseEntity {

    /**
     * 房间编号
     * */
    private Long roomId;

    /**
     * 房间楼号
     * */
    private String roomPlace;

    /**
     * 房间楼层
     * */
    private String roomFloor;

    /**
     * 房间号
     * */
    private String roomNum;

    /**
     * 创建时间
     * */
    private Date createTime;

    /**
     * 创建人
     * */
    private String createBy;

    /**
     * 修改时间
     * */
    private Date updateTime;

    /**
     * 修改人
     * */
    private String updateBy;

    public RoomInfo() {
    }

    public RoomInfo(Long roomId, String roomPlace, String roomFloor, String roomNum, Date createTime, String createBy, Date updateTime, String updateBy) {
        this.roomId = roomId;
        this.roomPlace = roomPlace;
        this.roomFloor = roomFloor;
        this.roomNum = roomNum;
        this.createTime = createTime;
        this.createBy = createBy;
        this.updateTime = updateTime;
        this.updateBy = updateBy;
    }

    @Override
    public String toString() {
        return "RoomInfo{" +
                "roomId=" + roomId +
                ", roomPlace='" + roomPlace + '\'' +
                ", roomFloor='" + roomFloor + '\'' +
                ", roomNum='" + roomNum + '\'' +
                ", createTime=" + createTime +
                ", createBy='" + createBy + '\'' +
                ", updateTime=" + updateTime +
                ", updateBy='" + updateBy + '\'' +
                '}';
    }
}
